import request from '@/utils/request'
//台桌列表
export function getList() {
  return request({
    url: '/v1/table/list',
    method: 'post',
  })
}
//增加台桌
export function addtable(data){
  return request({
    url:'/v1/table/add',
    method: 'post',
    data
  })
}
//删除台桌
export function deltable(data){
  return request({
         url:'/v1/table/del',
         method: 'post',
         data
  }) 
 }

//修改台桌
 export function updatetable(data){
    return request({
      url:'/v1/table/update',
      method:'post',
      data
    })
 }
